<?php

namespace Rebecca\RebeccaBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Rebecca\RebeccaBundle\Entity\Nominas
 *
 * @ORM\Table(name="nominas")
 * @ORM\Entity
 */
class Nominas
{
    /**
     * @var integer $id
     *
     * @ORM\Column(name="id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var date $rangoInicial
     *
     * @ORM\Column(name="rango_inicial", type="date", nullable=false)
     */
    private $rangoInicial;

    /**
     * @var date $rangoFinal
     *
     * @ORM\Column(name="rango_final", type="date", nullable=false)
     */
    private $rangoFinal;

    /**
     * @var integer $idTipoNomina
     *
     * @ORM\Column(name="id_tipo_nomina", type="integer", nullable=false)
     */
    private $idTipoNomina;

    /**
     * @var Contratos
     *
     * @ORM\ManyToOne(targetEntity="Contratos")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="id_contrato", referencedColumnName="id")
     * })
     */
    private $idContrato;

    /**
     * @var EstadosNominas
     *
     * @ORM\ManyToOne(targetEntity="EstadosNominas")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="id_estado", referencedColumnName="id")
     * })
     */
    private $idEstado;



    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set rangoInicial
     *
     * @param date $rangoInicial
     */
    public function setRangoInicial($rangoInicial)
    {
        $this->rangoInicial = $rangoInicial;
    }

    /**
     * Get rangoInicial
     *
     * @return date 
     */
    public function getRangoInicial()
    {
        return $this->rangoInicial;
    }

    /**
     * Set rangoFinal
     *
     * @param date $rangoFinal
     */
    public function setRangoFinal($rangoFinal)
    {
        $this->rangoFinal = $rangoFinal;
    }

    /**
     * Get rangoFinal
     *
     * @return date 
     */
    public function getRangoFinal()
    {
        return $this->rangoFinal;
    }

    /**
     * Set idTipoNomina
     *
     * @param integer $idTipoNomina
     */
    public function setIdTipoNomina($idTipoNomina)
    {
        $this->idTipoNomina = $idTipoNomina;
    }

    /**
     * Get idTipoNomina
     *
     * @return integer 
     */
    public function getIdTipoNomina()
    {
        return $this->idTipoNomina;
    }

    /**
     * Set idContrato
     *
     * @param Rebecca\RebeccaBundle\Entity\Contratos $idContrato
     */
    public function setIdContrato(\Rebecca\RebeccaBundle\Entity\Contratos $idContrato)
    {
        $this->idContrato = $idContrato;
    }

    /**
     * Get idContrato
     *
     * @return Rebecca\RebeccaBundle\Entity\Contratos 
     */
    public function getIdContrato()
    {
        return $this->idContrato;
    }

    /**
     * Set idEstado
     *
     * @param Rebecca\RebeccaBundle\Entity\EstadosNominas $idEstado
     */
    public function setIdEstado(\Rebecca\RebeccaBundle\Entity\EstadosNominas $idEstado)
    {
        $this->idEstado = $idEstado;
    }

    /**
     * Get idEstado
     *
     * @return Rebecca\RebeccaBundle\Entity\EstadosNominas 
     */
    public function getIdEstado()
    {
        return $this->idEstado;
    }
}